package com.gzhryc.shared_device.cdcz.core.protocol.v2.models;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * 充电请求
 */
public class V2CDCZChargeRequest implements Serializable {

    @JsonProperty
    private String DEVICE;
    @JsonProperty
    private Integer CMD = 3;
    @JsonProperty
    private Integer PORT;
    @JsonProperty
    private Integer TIME;
    @JsonProperty
    private Integer POWER = 1000;
    @JsonProperty
    private Integer AUTOOPEN = 1; //0 为关闭自启动，1 为打开自启动，自启动功能: 正在使用过程中设备停电后再来电,定单是否继续进行。
    @JsonProperty
    private String SEQ;

    @JsonIgnore
    public String getDEVICE() {
        return DEVICE;
    }

    @JsonIgnore
    public void setDEVICE(String DEVICE) {
        this.DEVICE = DEVICE;
    }

    @JsonIgnore
    public Integer getCMD() {
        return CMD;
    }

    @JsonIgnore
    public void setCMD(Integer CMD) {
        this.CMD = CMD;
    }

    @JsonIgnore
    public Integer getPORT() {
        return PORT;
    }

    @JsonIgnore
    public void setPORT(Integer PORT) {
        this.PORT = PORT;
    }

    @JsonIgnore
    public Integer getTIME() {
        return TIME;
    }

    @JsonIgnore
    public void setTIME(Integer TIME) {
        this.TIME = TIME;
    }

    @JsonIgnore
    public Integer getPOWER() {
        return POWER;
    }

    @JsonIgnore
    public void setPOWER(Integer POWER) {
        this.POWER = POWER;
    }

    @JsonIgnore
    public Integer getAUTOOPEN() {
        return AUTOOPEN;
    }

    @JsonIgnore
    public void setAUTOOPEN(Integer AUTOOPEN) {
        this.AUTOOPEN = AUTOOPEN;
    }

    @JsonIgnore
    public String getSEQ() {
        return SEQ;
    }

    @JsonIgnore
    public void setSEQ(String SEQ) {
        this.SEQ = SEQ;
    }
}
